package com.aiyun.security.demo.repository;

import java.util.Optional;

import com.aiyun.security.demo.domain.User;

import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long> {

	Optional<User> findFirstByLogin(String login);
}
